package com.battle.pojo.param.trainingUser;

import com.battle.pojo.param.trainingUserDetails.CreateTrainingUserDetailsParam;
import jakarta.persistence.Column;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.*;
import java.util.List;


/**
* 【描 述】：
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class CreateTrainingUserParam {

    /**
     * 状态：0-待提交 1-已提交
     */
    @Column()
    private Integer status;

    /**
     * 训练日期
     */
    @Column
    private LocalDate trainingDate;

    /**
     * 训练人员id
     */
    @Column()
    private Long userId;

    /**
     * 训练日期类型：0-上午 1-下午
     */
    @Column()
    private Integer trainingDateType;

    /**
     * 训练地点
     */
    @Column()
    private String trainingPlace;


    /**
     * 训练项目
     */
    @NotEmpty(message = "训练项目不能为空")
    private List<CreateTrainingUserDetailsParam> trainingUserDetailsList;


}